<h1>Listing contexts</h1>

<table>
  <tr>
    <th>Artifact</th>
    <th>Created at</th>
    <th>Updated at</th>
    <th>Deleted at</th>
  </tr>
  
<% for context in @contexts %>
  <tr>
    <td><%=h context.artifact_id %></td>
    <td><%=h context.created_at %></td>
    <td><%=h context.updated_at %></td>
    <td><%=h context.deleted_at %></td>
    <td><%= link_to 'Show', context_path(context) %></td>
    <td><%= link_to 'Edit', edit_context_path(context) %></td>
    <td><%= link_to 'Destroy', context_path(context), :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New context', new_context_path %>